package Message;

public class BeanConstant {
    // login / register code

    public static final int LOGIN_OLD_VERSION = 1;
    public static final int LOGIN_WRONG_USERNAME_OR_PASSWORD = 2;
    public static final int LOGIN_ALREADY_LOGGED = 3;
    public static final int LOGIN_NOT_ACTIVATED = 4;
    public static final int LOGIN_FAIL = -1;
    public static final int REGISTER_SUCCESS = -2;
    public static final int REGISTER_FAIL = -3;
    public static final int CHANGEPASS_FAILED = 0;
    public static final int CHANGEPASS_SUCCESS = 1;

    // system constants
    public static final int RESPONSE_IP_REQUEST = -1;
    public static final int RESPONSE_DNS_BEAN = -6;
    public static final int RESPONSE_LOGIN_SUCCESS = -5;
    public static final int SYS_LOGIN_REQUEST = 1;
    public static final int SYS_REGISTER_REQUEST = 2;
    public static final int SYS_QUIT = 3;
    public static final int SYS_CHECK_VERSION = 4;
    public static final int SYS_SILENT_LOGIN_REQUEST = 5;
    public static final int RESPONSE_CHECK_VERSION = -4;
    public static final int SYS_GET_ACCOUNT_INFO = 12;
    public static final int SYS_UPDATE_ACCOUNT = 13;
    public static final int SYS_GET_SMS_SYNTAX = 14;
    public static final int RESPONSE_GET_SMS_SYNTAX = -14;

    public static final int SYS_TOPUP_PHONE_CARD = 80;
    public static final int RESPONSE_TOPUP_PHONE_CARD = -80;

    // server login
    public static final int RESPONSE_UPDATE_SUCCESS = -10;
    public static final int RESPONSE_UPDATE_FAIL = -11;
    public static final int RESPONSE_GET_ACCOUNT_SUCCESS = -12;
    public static final int RESPONSE_SYSTEM_ANNOUCEMENT = -13;

    // bean bigtwo
    public static final int BT_CLIENT_BEAN = 300;
    public static final int BT_TABLE_LIST_BEAN = 301;
    public static final int BT_REQUEST_JOIN_TABLE_BEAN = 302;
    public static final int BT_REQUEST_FIND_AND_JOIN_TABLE_BEAN = 303;
    public static final int BT_RESPOND_JOIN_TABLE_BEAN = 315;
    public static final int BT_IGNORE_BEAN = 304;
    public static final int BT_REQUEST_SET_BET_MONEY = 305;
    public static final int BT_START_BEAN = 306;
    public static final int BT_RESPOND_START_BEAN = 307;
    public static final int BT_CHAT_BEAN = 308;
    public static final int BT_MOVE_BEAN = 309;
    public static final int BT_LEAVE_TABLE_BEAN = 310;
    public static final int BT_FINISH_BEAN = 311;
    public static final int BT_RESPOND_SET_BET_MONEY = 312;
    public static final int BT_DEAL_CARD_BEAN = 313;
    public static final int BT_WATCH_ACCOUNT = 314;
    public static final int BT_RESPOND_LEAVE_BEAN = 316;
    public static final int BT_CONGBAI = 317;
    public static final int GET_LIST_ROOM = 318;
    public static final int RESPONSE_GET_LIST_ROOM = -318;
    public static final int UPDATE_CLIENT_CARDS = 319;
    public static final int KICK_USER_OF_OUT_TABLE = 320;
    public static final int RESPONSE_KICK_USER_OF_OUT_TABLE = -320;

    // personal info & friends
    public static final int ADD_FRIEND = 401;
    public static final int REMOVE_FRIEND = 402;
    public static final int LIST_FRIEND = 403;
    public static final int SEND_PM = 404;
    public static final int LIST_PM = 405;
    public static final int REMOVE_PM = 406;
    public static final int CHANGE_PASSWORD = 407;
    public static final int SEND_VIXU = 408;
    public static final int CHANGE_FULLNAME = 409;
    public static final int CHANGE_GENDER = 410;
    public static final int CHANGE_BIRTHYEAR = 411;
    public static final int CHANGE_ADDRESS = 412;
    public static final int CHANGE_CMND = 413;
    public static final int CHANGE_MOBILE = 414;
    public static final int CHANGE_CITY = 415;
    public static final int REPLY_PM = 416;
    public static final int CHANGE_PM_STATUS = 417;

    public static final int RESPONSE_ADD_FRIEND = -401;
    public static final int RESPONSE_REMOVE_FRIEND = -402;
    public static final int RESPONSE_LIST_FRIEND = -403;
    public static final int RESPONSE_SEND_PM = -404;
    public static final int RESPONSE_REMOVE_PM = -405;
    public static final int RESPONSE_LIST_PM = -406;
    public static final int RESPONSE_CHANGE_PASSWORD = -407;
    public static final int RESPONSE_SEND_VIXU = -408;
    public static final int RESPONSE_CHANGE_FULLNAME = -409;
    public static final int RESPONSE_CHANGE_GENDER = -410;
    public static final int RESPONSE_CHANGE_BIRTHYEAR = -411;
    public static final int RESPONSE_CHANGE_ADDRESS = -412;
    public static final int RESPONSE_CHANGE_CMND = -413;
    public static final int RESPONSE_CHANGE_MOBILE = -414;
    public static final int RESPONSE_CHANGE_CITY = -415;
    public static final int RESPONSE_REPLY_PM = -416;
    public static final int RESPONSE_NEW_PM = -417;
    // server avatar & items
    public static final int GET_AVATAR_ID = 100;
    public static final int GET_AVATAR_IMAGE = 101;
    public static final int GET_AVATAR_LIST = 102;
    public static final int GET_AVATAR_LIST_COUNT = 103;
    public static final int BUY_ITEM = 104;
    public static final int GET_AVATAR_IMAGE_LIST = 105;
    public static final int GET_NICK_COLOR = 106;
    public static final int CHANGE_AVATAR = 107;
    public static final int RESPONSE_GET_AVATAR_ID = -100;
    public static final int RESPONSE_GET_AVATAR_IMAGE = -101;
    public static final int RESPONSE_GET_AVATAR_LIST = -102;
    public static final int RESPONSE_GET_AVATAR_LIST_COUNT = -103;
    public static final int RESPONSE_BUY_ITEM = -104;
    public static final int RESPONSE_GET_AVATAR_IMAGE_LIST = -105;
    public static final int RESPONSE_GET_NICK_COLOR = -106;
    public static final int RESPONSE_CHANGE_AVATAR = -107;
    public static final int GET_LIST_BEST_PLAYERS = 108;
    public static final int GET_LIST_BEST_ONLINE_PLAYERS = 109;
    public static final int GET_LIST_MOST_WEALTHY_PLAYERS = 110;
    public static final int RESPONSE_LIST_BEST_PLAYERS = -108;
    public static final int RESPONSE_LIST_BEST_ONLINE_PLAYERS = -109;
    public static final int RESPONSE_LIST_MOST_WEALTHY_PLAYERS = -110;
    public static final int GET_USER_BALANCE = 111;
    public static final int RESPONSE_GET_USER_BALANCE = -111;
    public static final int GET_USER_INVENTORY = 112;
    public static final int RESPONSE_GET_USER_INVENTORY = -112;
    public static final int GET_USER_EMOTION_STATUS = 113;
    public static final int RESPONSE_GET_USER_EMOTION_STATUS = -113;
    public static final int SET_USER_EMOTION_STATUS = 114;
    public static final int RESPONSE_SET_USER_EMOTION_STATUS = -114;
    public static final int SET_NICK_COLOR = 115;
    public static final int RESPONSE_SET_NICK_COLOR = -115;
    public static final int GET_USER_LEVEL = 116;
    public static final int RESPONSE_GET_USER_LEVEL = -116;
    public static final int GET_USER_DISPLAY_INFO = 117;
    public static final int RESPONSE_GET_USER_DISPLAY_INFO = -117;
    public static final int GET_NEWS = 118;
    public static final int RESPONSE_GET_NEWS = -118;
    public static final int MONEY_TRANSFER = 119;
    public static final int RESPONSE_MONEY_TRANSFER = -119;
    public static final int GET_AVAILABLE_PLAYERS = 120;
    public static final int RESPONSE_AVAILABLE_PLAYERS = -120;
    public static final int INVITE_PLAYER = 121;
    public static final int RESPONSE_INVITE_PLAYER = -121;

    public static final int LOCK_TABLE = 122;
    public static final int RESPONSE_LOCK_TABLE = -122;

    public static final int GET_IMAGE = 200;
    public static final int RESPONSE_GET_IMAGE = -200;
    public static final int ENTER_CHAT_ROOM = 201;
    public static final int SEND_CHAT_ROOM_TEXT = 202;
    public static final int LEAVE_CHAT_ROOM = 203;
    public static final int RESPONSE_ENTER_CHAT_ROOM = -201;
    public static final int RESPONSE_RECEIVE_CHAT_ROOM_TEXT = -202;
    public static final int RESPONSE_LEAVE_CHAT_ROOM = -203;
}
